A state of emergency has been declared after the earthquake rocked southern Spain with warnings issued about powerful aftershocks