Axially symmetric static scalar solitons and black holes with scalar hair